#!/user/bin/env python
# -*- coding: utf-8 -*-
''' 
Author: Sjy
Description: 模块基类，定义统一接口
'''

from abc import ABC, abstractmethod
from typing import Dict, Any, Optional
from PyQt5 import QtWidgets
import gui.controls.envs as envs

class BaseModule(ABC):
    """模块基类"""
    
    def __init__(self):
        super().__init__()
        
    @abstractmethod
    def init_category(self, ribbon: envs.Ribbonbar) -> Any:
        """初始化工具栏项"""
        pass
        
